package com.bo.baby2.dao;

import com.bo.baby2.entity.BorrowQuery;
import com.bo.baby2.entity.TRepaymentDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* @program: baby2_p2p
*
* @description: ${description}
*
* @author:波
*
* @create: 2020-07-14 21:18
**/


public interface TRepaymentDetailMapper {
    int deleteByPrimaryKey(String id);

    int insert(TRepaymentDetail record);

    int insertSelective(TRepaymentDetail record);

    TRepaymentDetail selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TRepaymentDetail record);

    int updateByPrimaryKey(TRepaymentDetail record);

    List<TRepaymentDetail> getRepaymentDetails(BorrowQuery borrowQuery);

    int getCount(BorrowQuery borrowQuery);

    List<TRepaymentDetail> getTRepaymentDetailList(@Param("repaymentId") String repaymentId, @Param("qishu")Integer qishu);
}
